package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_task_finish")
@Data
@Document(indexName = "t_task_finish")
public class TaskFinishDO extends BaseDO {
    @Field(name = "task_id", type = FieldType.Text, analyzer="ik_max_word")
     private Integer taskId;
    @Field(name = "username", type = FieldType.Text, analyzer="ik_max_word")
     private  String username;
    @Field(name = "is_finish", type = FieldType.Text, analyzer="ik_max_word")
     private  Integer isFinish;
}
